package FunctiiElementare;
import Functii.Functie;


public final class Constanta extends Functie{
	protected double ct;
	
	public Constanta(double ct){
		this.ct=ct;
	}
	
	public double calcul(){
		return ct;
	}
	
	public double calculDerivata(){
		return 0;
	}
	
	public String derivare(){
		return "0";
	}
	
	public String toString(){
		return Double.toString(ct);
	}

}
